package face;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;

public class Output extends HttpServlet{

	public void doPost(HttpServletRequest request, 
						HttpServletResponse response) throws ServletException, IOException{
		doGet(request, response);
	}

	public void doGet(HttpServletRequest request, 
						HttpServletResponse response) throws ServletException, IOException{

		HttpSession session = request.getSession();
		session.removeAttribute("user");
		
		response.sendRedirect("http://localhost:8080/Anagram/jsp/face/index.jsp");
	}
	
}